package org.example.user.service;


import com.mybatisflex.core.paginate.Page;
import org.example.user.dto.AssignAclDTO;
import org.example.user.dto.CreateRoleDTO;
import org.example.user.dto.RoleQueryDTO;
import org.example.user.dto.UpdateRoleDTO;
import org.example.user.entity.SysRoleEntity;
import com.mybatisflex.core.service.IService;
import org.example.user.vo.SysRoleVO;

/**
 * 角色表 服务层。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
public interface ISysRoleService extends IService<SysRoleEntity> {
    int createRole(CreateRoleDTO createRoleDTO);

    int updateRole(UpdateRoleDTO updateRoleDTO);

    int deleteRole(Long roleId);

    Page<SysRoleVO> pageList(RoleQueryDTO roleQueryDTO);

    SysRoleVO getRoleDetail(Long roleId);

    void assignAcl(AssignAclDTO assignAclDTO);


}